package com.vim.modules.web.model;

import com.vim.modules.web.utils.StringUtil;

public class Column {
	/**java列名*/
	private String fieldName;
	/**java列名*/
	private String fieldName4Upper;
	/**db列名*/
	private String columnName;
	/**位置*/
	private Long ordinalPosition;
	/**数据类型*/
	private String dataType;
	/**注释*/
	private String columnComments;
	/**主键标识*/
	private String columnKey;

	public String getFieldName4Upper() {
		return StringUtil.setFirstCharUpcase(this.fieldName);
	}

	public String getFieldName() {
		return fieldName;
	}

	public void setFieldName(String fieldName) {
		this.fieldName = fieldName;
	}

	public void setFieldName4Upper(String fieldName4Upper) {
		this.fieldName4Upper = fieldName4Upper;
	}

	public String getColumnName() {
		return columnName;
	}

	public void setColumnName(String columnName) {
		this.columnName = columnName;
	}

	public Long getOrdinalPosition() {
		return ordinalPosition;
	}

	public void setOrdinalPosition(Long ordinalPosition) {
		this.ordinalPosition = ordinalPosition;
	}

	public String getDataType() {
		return dataType;
	}

	public void setDataType(String dataType) {
		this.dataType = dataType;
	}

	public String getColumnComments() {
		return columnComments;
	}

	public void setColumnComments(String columnComments) {
		this.columnComments = columnComments;
	}

	public String getColumnKey() {
		return columnKey;
	}

	public void setColumnKey(String columnKey) {
		this.columnKey = columnKey;
	}
}
